Synthesis of 4-hydrazinyl-1,6-dihydropyrazolo[3,4-e][1,4]diazepines and their hydrolytic recyclization to 5-amino-4-(1,2,4-triazin-3-yl)-1H-pyrazoles