Demography and heat stress: the role of population dynamics in climate risk projections