The synthesis and properties of polythiophenes