Spectroscopic properties in the liquid phase: Combining high-level ab initio calculations and classical molecular dynamics