Modelling suspended sediment transport in tidal flows: theory and application to long term equilibrium of tidal channels