Spin-flip in the inelastic scattering of polarized protons