The Origins and the Development of the Welfare State: Democracies and Totalitarianisms Compared