A method for determining the complex refractive index dispersion of absorbing materials without thickness information