Higher water temperatures in 2016 caused the worst destruction of coral ever recorded on Australia's Great Barrier Reef, a study has found.