Compatible resistive switching mechanisms in Ni/SiOx/ITO and application to neuromorphic systems