Determination of liquid crystal parameters by the attenuated total reflection technique