Electronic Structure of Transition Metal Ions in Deintercalated and Reintercalated LiCo0.5Ni0.5 O 2