Study of magnesium chloride hexahydrate as heat storage material