Optimal Change-Detection and Spiking Neurons