which man took the presidential oath of office in 1881 following the death of the president