The synthesis and reactions of some biheterocyclic systems