A simple theoretical model for the flow of an estuary onto a continental shelf