Obama applauds ‘smart’ diplomacy behind Iran deal