Structural control of conjugation in functionalized polythiophenes