Bidimensional arrays of SPAD for time resolved single photon imaging