Tidal circulation and energy dissipation in a shallow, sinuous estuary