The dehydration of ZnSO4·7H2O and NiSO4·6H2O