The carbonate system in the western Mediterranean sea