Accelerator-based measurements relevant for shielding design in space