Analysis of Synchronization Between Two Modules of Pulse Neural Networks with Excitatory and Inhibitory Connections