Analysis and monitoring oftrans-isomerization by IR attenuated total reflectance spectrophotometry