what democrat did abraham lincoln beat in the 1860?