How did Spain manage to overcome both the Aztec and Inca Empires with less than a thousand soldiers, and then successfully suppress any revolts?

西班牙是如何用不到一千名士兵战胜阿兹特克和印加帝国,然后成功地镇压所有叛乱的?