Text this: High performance memristor device from solution processed MnO2 nanowires: Tuning of resistive switching from analog to digital and underlying mechanism