Synaptic plasticity and memory functions achieved in a WO3- x-based nanoionics device by using the principle of atomic switch operation