Effect of Mg doping on electrochemical performance of Li3V2(PO4)3/C cathode material for lithium ion batteries