Variational convergence of nonlinear diffusion equations: applications to concentrated capacity problems with change of phase