Statistical hadronization model and transverse momentum spectra of hadrons in high-energy collisions