ACCEPT: three-dimensional electron/photon Monte Carlo transport code using combinatorial geometry