Cation diffusion, semiconductivity and nonstoichiometry in (Co,Ni)O crystals