Thermodynamics of massless quarks and gluons Finite-size hadron formation and phase transition to the quark-gluon plasma state