Quantum-chemical calculations of chemisorption on the surface of metallic clusters