Formation of a novel N–N bond through SO extrusion. Regioselective synthesis of 1,2,6-thiadiazine S-oxides and pyrazoles