Turkey has 'legitimate security interests' in Syria