Amplified and localized photoswitching of TiO2 by micro- and nanostructuring.