Optimization techniques for the estimation of the thickness and the optical parameters of thin films using reflectance data