Measurement of the shape of picosecond light pulses using stimulated Raman scattering