Measurement of the polarization in proton-proton scattering at 30 and 50 MeV