how important were the american aand french revolutions as a driving force behind the latin american revolutions?