Effect of oxygen partial pressure on the discharge capacity of LiCoPO4