Igneous life cycles: geochemistry of magma from mantle to surface and back again