Interference between inelastic scattering and transfer in the scattering of 16O ON 17O