Controlling 6-endo-selectivity in oxidation/bromocyclization cascades for synthesis of aplysiapyranoids and other 2,2,6,6-substituted tetrahydropyrans