Structure, Morphology, and Electrochemical Properties of Transition Metal Oxide, Hydroxide, and Phosphate Nanomaterials for Energy Storage