Segmented detector for recoil neutrons in the p(γ, n)π+ reaction