S&P 500 hits record 7,799 as earnings, cooling inflation fuel rally