who ran against lincoln in the 1864 presidential election?