The evolution of social philopatry and dispersal in female mammals