Ultralow power switching in a silicon-rich SiNy/SiNx double-layer resistive memory device.