Flow and sediment transport induced by tide propagation: 1. The flat bottom case