The effect of oxygen on the sputtering of metastable atoms and ions from Ba metal