Synthesis of poly(alkylthiophenes) for light-emitting diodes