Synergistic impacts of global warming on the resilience of coral reefs