Chapter 12: Nanostructured titania thin films for solar use in energy applications