Understanding optoelectronic properties of cyano-terminated oligothiophenes in the context of intramolecular charge transfer.