Text this: Memristor-based model of neuronal excitability and synaptic potentiation