Theoretical study of radiative electron attachment to CN, C2H, and C4H radicals.