Importance sampling for jump processes and applications to finance