Nominal wage rigidities in a new Keynesian model with frictional unemployment