Synthesis of medium-sized benzo[b]azocines and benzo[b]azonines by photoinduced 8-/9-endo sulfonyl-cyclization