Dielectric-constant measurements in a system of NbC grains near the percolation threshold