Experimental and Computational Mechanistic Studies Guiding the Rational Design of Molecular Electrocatalysts for Production and Oxidation of Hydrogen.