Stagnant lid convection and carbonate metasomatism of the deep continental lithosphere