Systemic risk measures and contagion models