Proton distribution and site energies in group IIIB metal hydrides