Fossil corals as archives of secular variations in seawater chemistry