Oxygen nonstoichiometry and cobalt valence in misfit-layered cobalt oxides