At least five people died on Wednesday in flooding across France and Germany, authorities say.