Optical-constant calculation over an extended spectral region: application to titanium dioxide film.