S&P 500 and NASDAQ reach record highs amid US-Iran tensions