Mean stress dependence of the thermoelastic constant