Spin measurements and reaction mechanism in the inelastic scattering of 18O on 12C