who was the us president when the 13th and 14th amendment were passed?