Synergistic effects of coating and doping for lithium ion battery cathode materials: synthesis and characterization of lithium titanate-coated LiCoO2 with Mg doping