Time Correlated Single Photon Counting System for Optical Measurements