Some coral reefs are thriving and scientists say they may guide efforts to curb threats such as overfishing and climate change, which are blamed for widespread global declines.