Plasticity in the circadian clock and the temporal organization of insect societies