Nano-Porous Materials for Use in Solar Cells and Fuel Cells