Biological skeletal carbonate records changes in major-ion chemistry of paleo-oceans