S&P 500, Nasdaq eke out fresh record highs at open as Dow lags