Synthesis of carbohydrazides and carboxamides as anti-tubercular agents.