China’s Foreign Relations and the Survival of Autocracies