Hadron resonance gas and nonperturbative QCD vacuum at finite temperature