Global warming will be "catastrophic" for coral reefs, study finds