A method for calculating the enthalpy of hydrophobic effect