Monolithically integrated solid-state vertical organic electrochemical transistors switching between neuromorphic and logic functions | Synapse