Oligothiophene-functionalized naphthalimides and perylene imides: design, synthesis and applications