Influence of bulk and surface properties on the performance of silicon diode arrays for image sensing