A THERMODYNAMICAL ANALYSIS OF THE PI-MESON AND K-MESON VALENCE STRUCTURE FUNCTIONS