Obama says deal offers opportunity for ‘new direction’ in Iran ties