Adaptations Shown by Foraging Shorebirds to Cyclical Variations in the Activity and Availability of Their Intertidal Invertebrate Prey