Thermo-elasticity of materials from quasi-harmonic calculations