Carbonation of wellbore cement by CO2 diffusion from caprock