Schottky diodes and field-effect transistors based on conjugated thiophenes