The rate of anion and hydrogen adsorption on Pt(111) and Rh(111)