Electro-optical characterization of photosensors for solid state imagers