Science, secularism, and literary form in antebellum America