Cathode bubbles induced by moisture electrolysis in TiO2−x-based resistive switching cells