Gunmen on a motorcycle have shot and killed Uganda's lead prosecutor in the 2010 bombings that killed 76 people who were watching the World Cup finals.