Synthesis of conjugated oligomers and macrocycles containing thiophene, pyrrole, furan, 1,3,4-thiadiazole and thiazolo[5,4-d]thiazole