Real and Nominal Rigidities in Price Setting: A Bayesian Analysis