The electronic structure of a palladium catalyst for the hydrogenation of unsaturated compounds