Death toll rises to 40 in California's 'horror' wildfires