Religion and realism in late nineteenth-century American literature