1,3,4-Thiadiazole: synthesis, reactions, and applications in medicinal, agricultural, and materials chemistry.