A Simplified Model for Resistive Switching of Oxide-Based Resistive Random Access Memory Devices