Inkjet assisted fabrication of planar biocompatible memristors