Continental shelf waves and their influence on the circulation around the Great Barrier Reef