The effect of oxygen vacancy on switching mechanism of ZnO resistive switching memory