Scores of people have died and at least 50 others were reported missing after floods hit western and central Japan.