Achieving optimum hydrogen permeability in PdAg and PdAu alloys.