Sensitivity kernels for static and dynamic tomography of scattering and absorbing media with elastic waves: a probabilistic approach