Resistive switching in microscale anodic titanium dioxide-based memristors