Electrodeposition and characterization of metals and metal oxides for energy conversion and storage