Gravar-mail: Structural and electronic properties of oligo- and polythiophenes modified by substituents