Nickel-catalyzed cyclization of α,ω-dienes: formation vs. cleavage of C–C bonds