Cross-seasonal interactions in the evolution of sandpiper social systems