Production Network Dynamics and the Propagation of Shocks