Energy loss rate and inelastic mean free path of low-energy electrons and positrons in condensed matter