US stock markets close Monday at record highs as Middle East tensions ease