Detectors for time-of-flight fast-neutron radiography 1. Neutron-counting gas detector