Functional oligothiophenes toward molecular wires in single-molecular electronics