Tanzanian president sworn in amid disputed poll result