Development of nanostructured titania for solar energy applications