IR spectral and theoretical characterization of intramolecular hydrogen bonds closing five-membered rings