On the simulation of Lévy processes