Density Functional Theoretical Study on Dehydration Process of MgCl2·6H2O