Ab Initio Molecular Dynamic Simulation of the Ionic Transport Mechanisms for LiCoO2 and Ni Doped LiCoO2 as Cathodes in Lithium Batteries