SpikeFit: Towards Optimal Deployment of Spiking Networks on Neuromorphic Hardware