Morphodynamic simulation of alternate bars in tidal channels