Synthesis and electrochemical properties of Mg-doped LiNi0.6Co0.2Mn0.2O2 cathode materials for Li-ion battery