Finite-temperature H behaviors in tungsten and molybdenum: first-principles total energy and vibration spectrum calculations