who was the aztec ruler when the spanish arrived