Simultaneous measurements of stress and infrared dichroism on polymers