Synthesis, antimicrobial and in vitro antitumor activities of a series of 1,2,3-thiadiazole and 1,2,3-selenadiazole derivatives