At least 10 people have died and thousands have been evacuated in southern France after some of the worst flash flooding in more than a century.