Local dielectric permittivity near an interface