The influence of authigenic clay formation on the mineralogy and stable isotopic record of lacustrine carbonates