Welfare-enhancing parental altruism and children’s habit formation