S&P 500 and Nasdaq end higher on cool inflation data, solid bank earnings Reuters