Anharmonicity and hydrogen bonding