Unraveling the Distinct Roles of Mg Occupation on Li or Co Sites on High-Voltage LiCoO2