The oxidation states of elements in pure and Ca-doped BiCuSeO thermoelectric oxides