Probabilistic relations between thermo-mechanical response and microstructure of heterogeneous energetic materials for shock/nonshock loading