Measurements of temporally- and spatially-resolved neutron production in a sheared-flow stabilized Z-pinch