Synthesis of heterocycles mediated by benzotriazole. 2. Bicyclic systems.