Dynamic percolation theory for diffusion of interacting particles