Production Networks, Nominal Rigidities and the Propagation of Shocks