Multi-scale energy dissipation during impact and explosion fragmentation of quasi-brittle materials