How did the American Revolution influence South Americans in the nth and nth centuries?