Theoretical analysis of entrapment kinetics in hydrogen permeation experiments