How did John Quincy Adams' rejection of Britain’s suggestion for a joint statement reflect the nation’s new confidence