How Turkey turned from emerging star to economic mess