Perfect simulation for interacting point processes, loss networks and Ising models