Intergenerational Altruism, Dynastic Equilibria and Social Welfare