The war of 1812 and the American Revolution War both took place in American territory. What is another factor that these wars had in common?