Occurrence of Both Unipolar Memory and Threshold Resistance Switching in a NiO Film | Synapse