The damage caused to the Great Barrier Reef by global warming has compromised the capacity of its corals to recover, according to new research.