Molecular Spectroscopy of Dynamically Compressed Materials