A comprehensive description of the free energy of an intramolecular hydrogen bond as a function of solvation: NMR study