An axiomatic approach to systemic risk