A solution to the learning dilemma for recurrent networks of spiking neurons | Synapse