How are estuaries and coral reefs similar