A study of two-step transfer contributions to the inelastic scattering of 13C on 16O and 18O