Supervised training of spiking neural networks for robust deployment on mixed-signal neuromorphic processors