JPMorgan and Wells Fargo beat forecasts as US consumers show resilience