Unemployment insurance and capital accumulation