Quantum Theory of the Metal Dependence of Electrocatalysis