Intrinsic resistive switching and memory effects in silicon oxide