Development and Application of Photon Counting Techniques for Fluorescence Microscopy