Time resolved spectroscopy of picosecond laser pulses with the aid of optical Kerr effect photography