The molecular basis for the heat capacity and thermal expansion of natural waters