A model for atomic hydrogen-metal interactions — application to recycling, recombination and permeation