Global warming is behind the scale and impact of recent wildfires in the western US, scientists say.