Oxidative rearrangement of N-aminopyrazoles to 1,2,3-triazines