Revisiting hydrogen bond thermodynamics in molecular simulations