JPMorgan Chase Reports Third-Quarter Profit Gains Amid Investment Banking Slowdown