Circulation, residence time and retention in a tropical coral reef