Relation between atmospheric carbon dioxide amount and properties of the sea