how do tides affect inlets