Effect of Compensated Codoping on the Photoelectrochemical Properties of Anatase TiO2 Photocatalyst