Interaction of state institutions and civil society in the process of adaptation of the unemployed