Group delay and spectral phase retrieval of light pulses by spectral intensity measurements