Production and diffusion model of nitric oxide for bioinspired spiking neural networks