how was the declaration of indepedence used to the benefit of the africans by former president John Quincy Adams?