Iran 'not overly optimistic' in US talks, calls sanctions illegal