Devastating floods have left entire villages isolated in western France after a record-breaking 37 days of rain.