Resonance-assisted stabilisation of hydrogen bonds probed by NMR spectroscopy and path integral molecular dynamics.