Mechanisms of photodegradation of poly(3-alkylthiophenes) in solution