The US and Iran reached an understanding on key “guiding principles” at indirect nuclear talks in Geneva.