Determination of the mid-IR optical constants of water and lubricants using IR ellipsometry combined with an ATR cell