On the valence states of cerium in CeO2