Ecological and demographic effects on intraspecific variation in the social system of prairie dogs