These S&P 500 companies have also shown improving profit margins and free cash flow this earnings season.