Dynamic percolation theory for particle diffusion in a polymer network