About 10,000 illegal immigrants detained in Turkey