The outgoing president also says he is considering pardons for Trump foes.