Laboratory afterglow studies of O+ ions in helium-oxygen and helium-oxygen-nitrogen mixtures