Effect of the synthesis temperature and the length of alkyl substituents on photoelectrical properties of polyterthiophenes