Ferroelectricity and spin-phonon coupling in multiferroic Sr1-xBaxMnO3