1,3,4-Thia- and -selenadiazole and 1,2,4-triazolo[4,3-a]pyrimidine derivatives from hydrazonoyl halides†