Heterocyclic system. XI. Synthesis of 1H,4H-pyrazolo[4,3-b]pyrrolizine and 2H,4H-pyrazolo[4,3-b]pyrrolizine derivatives