Hierarchical nanowires for high-performance electrochemical energy storage