Internal Hydrology and Geochemistry of Coral Reefs and Atoll Islands: Key to Diagenetic Variations