magnesium chloride and sodium hydroxide ionic equation