Routes to Nanostructured Inorganic Materials with Potential for Solar Energy Applications