Exact and unbiased simulation of rare events