Beta-alkylsulfanyl polythiophenes functionalized with carboxylic group