Energy dependence of two-nucleon transfer reactions on light nuclei