Effects of carbon dioxide on pH and calcium carbonate levels