After the fall of the Qing dynasty, who was chosen as president of the new Chinese republic?