Thermal expansion of mantle and core materials at very high pressures