Electrocatalysis and electron transfer mechanisms in the reduction of organic halides at Ag