Method for the determination of optical constants of thin films: dependence on experimental uncertainties.