Dynamics of neural systems with distributed delays and diffusion