Three-pulse scattering for femtosecond dephasing studies: theory and experiments