Multinuclear NMR study of the intramolecular hydrogen bond in Schiff–Mannich bases