Simulation of transient infrared spectra of a photoswitchable peptide.