The head of Uganda's electoral body says he has received threats warning him against declaring certain presidential candidates the winners of Thursday's election.