Networks, Shocks, and Systemic Risk