Heat of hydration and lattice energy