Thermodynamics of calcium chloride in highly concentrated aqueous solution and in hydrated crystals