Application of a B-spline model dielectric function to infrared spectroscopic ellipsometry data analysis