Stoichiometric effects of O2 on CdS