how to calculate dielectric constant of solvents in chemistry