JPMorgan beats estimates on strong trading, underwriting