Incentives and the role of institutions in the provision of social safety nets