17O NMR spectroscopy: geometric effects on intramolecular hydrogen bonding in rigid carbonyl systems