High-resolution tracking of social interactions highlights nocturnal drivers of animal sociality