Oxygen isotope constraints on the composition of seawater through time