Obama condemns Trump's Iran deal