Hydrogen solubility in metals is influenced by local distortions or impurities in the crystal lattice