A Comprehensive Study of the Resistive Switching Mechanism in {Al/TiO}_{x}/{TiO}_{2}/{Al}-Structured RRAM