Constraints on Cosmological Parameters by the X-Ray Luminosity and Temperature Functions of Galaxy Clusters