by oxidation of metallic magnesium