XNBC: a simulation tool. Application to the study of neural coding using hybrid networks