Former FBI director James Comey has begun his much-anticipated congressional testimony under oath.