Comparing Turkey’s failed coup to Egypt’s successful one