A prelude to the welfare state : the origins of workers' compensation