Unemployment and inflation in a New Keynesian model with hiring costs