Theoretical studies of the structure and dynamics of metal/hydrogen systems: Diffusion and path integral Monte Carlo investigations of nickel and palladium clusters