Synthesis of pyridazine derivatives—III : Formation of some bicyclic heterocyclic systems