The former national security adviser says he offered the president his resignation from the White House post.