J. C. Calhoun, Secretary of State