Cyclic derivatives from alkoxybenzohydrazides: synthesis of pyrazoles, pyrroles and triazol-5-ones of pharmaceutical interest