The interaction of oxygen and ozone with pentacene