Infrared technique for the measurement of structural changes during the orientation process in polymers