Biogeochemical consequences of ocean acidification and feedbacks to the earth system