Cyclization via isomerization: a palladium(2+)-catalyzed carbocyclization of 1,6-enynes to 1,3- and 1,4-dienes