Great Barrier Reef coral halved in 27 years: study