Water- and ionic-liquid-soluble branched polythiophenes bearing anionic and cationic moieties.