Correlation between dielectric constant and defect structure of non-stoichiometric solids