A new generation of SPAD: single photon avalanche diodes