Factors to determine the functions and structures in natural and constructed tidal flats