Numerically exact diffusion coefficients for lattice systems with periodic boundary conditions. II. Numerical approach and applications