Controlling mode selectivity in palladium-catalyzed bisdiene carbocyclizations: optimizing for cyclization-trapping over cycloisomerization.