Phase transformation of LixNi1−yCoyO2 along with lithium deintercalation