Essays on intergenerational issues in economics