Former FBI director James Comey has accused the Trump administration of defaming him and the FBI in the aftermath of his abrupt firing by US President Donald Trump.