Controlling Nanostructure for Catalytic and Electrochemical Energy Storage Materials.