Diffusional relaxation of H and D in V and Nb