The analysis of the spacing of animals, with an example based on oystercatchers during the tidal cycle