Iran reaches nuclear agreement with world powers