Collision integrals of oxygen atoms and ions in electronically excited states