Science in the Spanish and Portuguese empires, 1500-1800