Systemic risk in financial networks