Titania nanostructures for optoelectronics applications