Influence of dispersion on the energies of adsorption: H2, CO, propylene and propyne on supported Pd or Pt