Resistive switching mechanism of TiO2 thin films grown by atomic-layer deposition | Synapse