States and territories to bake in heatwave