Dielectric constant of quasi-critical percolation systems