On mass transports generated by tides and long waves