Low-power adaptive spike detector based on a sigma-delta control loop