Global warming is killing the Great Barrier Reef, study says