John Quincy Adams was the only US president to do what