A new architecture for digital stochastic pulse-mode neurons based on the voting circuit