Fast-gated SPAD for ultra-wide dynamic range optical investigations