Explain how Whigs and Democrats differed on questions of slavery and race.