Cyclocondensation of 6-acetyl-4,7-dihydro-5-methyl-7-phenyl[1,2,4]triazolo[1,5-a]pyrimidine with hydroxylamine and hydrazine