Organic memristive devices based on pectin as a solid polyelectrolyte