Grandparental co-residence and grandchild survival: the role of resource competition in a pre-industrial population