Defect Chemistry in Layered LiMO2 (M = Co, Ni, Mn, and Li1/3Mn2/3) by First-Principles Calculations