1H and 13C NMR Study of 1-Hydrazino-2,3-dihydro-1H-pyrazolo[1,2-a]pyridazine-5,8-diones and -1H-pyrazolo[1,2-b]phthalazine-5,10-diones and Their Ring-Chain Tautomerism