Study of the temperature effect of resonantly scattered capture γ-rays