Applications of the Yang-Lee-Ruelle theory to hard-core lattice gases