Effect of Mg doping and MgO-surface modification on the cycling stability of LiCoO2 electrodes