Effect of shot noise and secondary emission noise in scanning electron microscope images