Qatar says dialogue with Iran ‘necessary’ for regional security