The propagation of tide and surge in an estuary