The effects of capital and liquidity regulations on banks