Integer and Fractional Charge Transfer in the Doping of Poly- and Oligothiophenes