Numerical inversion of the Mellin transform on the real line for heavy-tailed probability density functions