Damage detection in structural health monitoring with spiking neural networks