Light-matter coupling in nanocrystal-based infrared photodetectors