Collisional transfer between and quenching of the 3p 3P and 5P states of the oxygen atom