Monte Carlo simulation of hydrogen diffusion in metal and alloys