Simulations and design of detectors for imaging with epithermal neutrons