Structural engineering of transition metal-based nanostructured electrocatalysts for efficient water splitting