Trump says 'only time will tell' how Iran nuclear program is ended