Anion and cation absorption spectra of conjugated oligomers and polymer