Interbank exchanges, liquidity management and banking crises