Text this: Effect of mesostructure on quasi-static and dynamic tensile strength of rock: insights from a breakable grain-based model