Coral reefs around the world are at risk of collapse due to rising temperatures and acidifying oceans, but the natural adaptability of some species may help buy time