Vegetation, terrain and fire history shape the impact of extreme weather on fire severity and ecosystem response