Obama defends Iran nuclear deal as victory for diplomacy