A spiking-neuron version of an RBM trained on the MNIST dataset