At a historic hearing, the former FBI chief casts the president as a liar who engaged in improper conduct.