US president says Israeli strikes on Iran are possible, but he reiterates preference for diplomatic deal with Tehran.