Uganda President Yoweri Museveni and his opponents have held their final rallies before the country's next election.