Characterization of spectral phase modulation by classical and polarization spectral interferometry