An investigation of the phosphate removal mechanism by MgFe layered double hydroxides