Reactive scattering of a supersonic O2 beam on Ba atoms