Studies on the synthesis and biological activities of triazolothienopyrimidines and triazolothienodiazepines