Adsorption and reaction of small molecules on palladium clusters: DFT studies