S&P 500 and Nasdaq lifted by earnings, Fed hopes - Reuters