Controlling regioselectivity in cyclization of unsaturated amidyl radicals: 5-exo versus 6-endo.