The solubility and distribution of hydrogen atoms in ordering alloys