Divergence of dielectric constant near the percolation threshold