James Knox Polk, President of the United States