Synthesis of heterocyclic compounds using cyanoacetic acid hydrazide: synthesis of pyrazolo[3,4-b]pyridine and pyrano[3,4-d]pyridazine derivatives