Conformational disorder and optical properties of conjugated polymers