On the theory of the thermodynamical properties and interactions of hydrogen in metals of the Nb group