A SPAD-based hybrid system for time-gated fluorescence measurements