process purification pure magnesium by