The computation approach for water environmental capacity in tidal river network