Efficient First-Principles Methodology for the Calculation of the All-Phonon Inelastic Scattering in Solids.