what did the demographics of the democratic, republican and populist parties look like in the late 1800’s?