Electronic structure of π-conjugated oligomers and polymers: a quantum–chemical approach to transport properties