Text this: Nonideal resistive and synaptic characteristics in Ag/ZnO/TiN device for neuromorphic system