Anharmonic theoretical simulations of infrared spectra of halogenated organic compounds