Design of Pixellated CMOS Photon Detector for Secondary Electron Detection in the Scanning Electron Microscope