Two Tanzanian athletes have been banned for four years each for doping.