Exploration of the dynamics of condensed matter through neutron total cross-section measurements