Subcellular S-factors for low-energy electrons: A comparison of Monte Carlo simulations and continuous-slowing-down calculations