Megapixel digital InSb detector for midwave infrared imaging