An ab-initio evaluation of layered oxide cathode materials for Li-ion batteries: LiMO2