Polymer-Engineered Nanostructures for Advanced Energy Applications