Relativistic High-Current Electron-Beam Stopping-Power Characterization in Solids and Plasmas: Collisional Versus Resistive Effects