Sensitivity limits for extrinsic and intrinsic infrared detectors