A segmented detector for airborne γ-ray spectroscopy