Framework to assess and protect ecosystem functioning on the Great Barrier Reef