which union general ran against lincoln in the 1864 presidential election?