Hebbian Synaptic Modifications in Spiking Neurons that Learn