Towards imaging with polycrystalline mercuric iodide semiconductor detectors