Strong impact of thermal environment on the quantitative genetic basis of a key stress tolerance trait