Infant health, cognitive performance and earnings: evidence from inception of the welfare state in Sweden