Multifunctional Nanostructured Metal Oxides for Energy Harvesting and Storage Devices