Designing high-performance electrochemical energy-storage nanoarchitectures to balance rate and capacity.