Origin of multistate resistive switching in Ti/manganite/SiOx/Si heterostructures