Synthesis of Mg-LiFePO4/C composite using intermediate FePO4·2H2O from Fe3(PO4)2·8H2O as precursor via an aqueous rheological phase assisted method