Steric and aromatic impact on intramolecular hydrogen bonds in o-hydroxyaryl ketones and ketimines