Text this: Electrophysical properties, memristive and resistive switching of charged domain walls in lithium niobate