The interplay of grandparental investment according to the survival status of other grandparent types