Generalized event-chain Monte Carlo: Constructing rejection-free global-balance algorithms from infinitesimal steps | Synapse