Modi and China’s Xi must get along—they have much in common