Turkey orders detention of over 1\,000 people for links with failed coup