Concept of dielectric constant for nanosized systems