Temporal stimulus segmentation by reinforcement learning in populations of spiking neurons. | Synapse