Pyrazolothiadiazoles from 3-aminopyrazoles: the hetero-Herz reaction