Effects of tidal periodicities and diurnal foraging constraints on the density of foraging wading birds