The framework of systemic risk related to contagion, recovery rate and capital requirement in an interbank network