Attenuation lengths of low-energy electrons in solids