A γ-spectrum stabiliser with compensation for the effects of detector temperature variation