Hydrogen Evolution Reaction on Electrodes: Influence of Work Function, Dipolar Adsorption, and Desolvation Energies