Carbon cycle in the coastal zone: effects of global perturbations and change in the past three centuries