Tanzania's prime minister says flooding caused by weeks of heavy rain has killed 155 people and affected more than 200,000 others.