Deep learning in spiking neural networks