Coral-rich reefs withstand heat better