US president says he is not ruling out sending ground troops if Iran fails to reach deal with Washington