Free-space spectro-temporal and spatio-temporal conversion for pulsed light