Extended detectors in neutron time-of-flight diffraction experiments