Sequences of singularly perturbed functionals generating free-discontinuity problems