Uganda’s president Museveni has been declared the winner of a tense election amid fraud allegations