James Madison; Secretary of State, 1800-1809