Method and apparatus for determination of relative permittivity of solvents