On global exponential stability and existence of periodic solutions for BAM neural networks with distributed delays and reaction–diffusion terms