Resistive switching characteristics of MnOx-based ReRAM