Scanning and detection techniques used in a confocal scanning laser microscope