FBI Director James Comey has defended reopening an investigation into Hillary Clinton's emails, just 10 days before the US presidential election.