Role of the inelastic transfer channel in elastic 16O + 12C scattering over a wide range of energies