Design and Electrochemical Studies of Transition Metal Oxide Nanostructures for Wastewater Remediation and Water Splitting