Coral reefs — a challenging ecosystem for human societies