Synthesis and Anticancer Activity of New 1,3,4-Thiadiazolyl-1,2,4-Triazolyl and 1,3,4-Oxadiazolyl Hybrids, Their Thioglycosides, and Acyclic Analogs