Elastic and inelastic scattering of16O by12C at forward and backward angles