Nano-scale single layer TiO2-based artificial synaptic device