France, Turkey working 'closely' on returning militants