how to calculate dielectric constant of water