The social structure of grandparenthood