who was the opponent of lincoln in the election of 1864?