Bank profits were strong in 2Q, but margin pressure persists