A convenient method for synthesis of bis-2,2′-(1,3,4-thiadiazole) and bis-3,3′-(1,2,4-triazole) derivatives