Development and characterization of polymer-based electrolytes and nanostructured electrodes for energy storage devices