The authorities in Niger have ordered thousands of people to leave their homes in the capital, Niamey, because of serious flooding.