Flexible organic transistors for bioinspired mechanosensory systems and image sensor arrays