Understanding and Tuning Nanostructured Materials for Chemical Energy Conversion