The effect of heteroatom conformation on optoelectronic properties of cyclopentadithiophene derivatives.