Emerging memories: resistive switching mechanisms and current status | Synapse