On the occupation of interstitial sites by hydrogen atoms in intermetallic hydrides: A quantitative model