Reversible resistive switching behaviors in NiO nanowires | Synapse