Approximation of functionals depending on jumps by elliptic functionals via G-convergence.