Versatile Functionality of Four-Terminal TiO2–x Memristive Devices as Artificial Synapses for Neuromorphic Computing