Infrared linear image sensor using a poly-Si pn junction diode array