The influence of social cues on timing of animal migrations