Labor market flexibility and unemployment: new empirical evidence of static and dynamic effect