Opto-electrical characterization of infrared sensors based on carbon nanotube films