Resilience Concepts and Their Application to Coral Reefs