Thermal instability of doped poly(3-alkylthiophenes)