Gating of signal propagation in spiking neural networks by balanced and correlated excitation and inhibition