Intramolecular hydrogen bonding and tautomerism of acylpyran-2,4-diones, -2,4,6-triones and acylpyridinediones and benzannelated derivatives. Deuterium isotope effects on 13C NMR chemical shifts