Spin-flip measurements in the proton inelastic scattering on 12C and giant resonance effects