Molecular resonances and spin alignment in 12C+16O inelastic scattering