origin of realism in literature