Text this: Social inheritance can explain the structure of animal social networks