Influence of magmatism on mantle cooling, surface heat flow and Urey ratio