Impact of sub- and supra- threshold switching in the synaptic behavior of TiO 2 memristors