who was lincoln's democratic opponent in the election of 1864?