who was lincons opponent in the 1864 elections?