Tens of thousands of people have been left homeless in Niger after months of severe flooding.