Iran 'optimistic' over nuclear talks