Large-scale preparation of Mg doped LiFePO4@C for lithium ion batteries via carbon thermal reduction combined with aqueous rheological phase technology