Energy dependence of 12C+12C single-neutron transfer cross sections