Fast Monte Carlo method for simulating electron scattering in solids