Excitation function measurements for 12C+12C inelastic scattering channels