ZnO- and TiO2-based nanostructures