Effects of magnesium and fluorine co-doping on the structural and electrochemical performance of the spinel LiMn2O4 cathode materials