Text this: Fuzzy logic based temperature control of thermoelectric cooler (TEC) for single photon avalanche diode (SPAD) application