Behavior of rare earth, iron, and phosphorus during purification of rare earth sulfate leach solution using magnesium oxide