A mass balance between Archean and Phanerozoic rates of magma emplacement, crustal growth and erosion: implications for recycling of the continental crust