Electronic and geometric defects in doped PPS oligomers