CMOS single-photon detector for advanced fluorescence sensing applications