Investigation of rock fragmentation during rockfalls and rock avalanches via 3-D discrete element analyses