4H-silicon carbide as particle detector for high-intensity ion beams