US stocks close higher amid Israel-Iran conflict