A large-acceptance Bragg curve spectrometer with a longitudinal electric field and a segmented anode