A surge in dealmaking and advisory fees pushed Deutsche Bank to a near-record quarterly profit, as the lender lifted its...