Detailed optimization of polycondensation reaction via direct C-H arylation of ethylenedioxythiophene.