Density functional theory study of surface catalysis and adsorption on several elements in Group I-B and VIII