p-Cu2O/SiCxOy/n-SiC/n-Si memory diode having resistive nonvolatile memory and rectifying behaviors