Iran has upper hand in nuclear talks, Khamenei's office says