The Stability of Hydrates of Inorganic Salts in Cooling-Heating Cycles