Magnesium-doped Na2FeP2O7 cathode materials for sodium-ion battery with enhanced cycling stability and rate capability