Absorption spectra from phase-modulated spin echoes