Femtosecond quantum dynamics of functional groups under coherent infrared multiphoton excitation as derived from the analysis of high-resolution spectra