Diagenetic salinity cycles: a link between carbonate diagenesis and sequence stratigraphy.