How functional and geographic diversification affect bank profitability during the crisis