Spectral phase interferometry for direct electric-field reconstruction