SNAPRed: Reduction of multidimensional neutron time-of-flight diffraction data