Thermal expansion of solids