Practical application of HgI2 detectors to a space-flight scanning electron microscope