magnesium sulfate and potassium phosphate total ionic equation