write the formulae of magnesium chloride and sodium sulfate ​