Improved electrochemical performances of Ni-rich LiNi0.83Co0.12Mn0.05O2 by Mg-doping