Findings have implications for protecting corals threatened by climate change, researchers say