Two explosions rocked Uganda’s capital, Kampala, on Tuesday, killing at least three civilians in what police described as a coordinated attack by extremists opposed to the government.