Influence of lithium vapor on crystal structure of tungsten and molybdenum