A High Speed and Low Power CMOS Current Comparator for Photon Counting Systems