Analytical method to estimate the complex permittivity of oil samples