How did technological advancements contribute to the rise and dominance of maritime empires during the 15th and 16th centuries?