Age-graded dominance hierarchies and social tolerance in packs of free-ranging dogs