Flexible, scalable and energy efficient bio-signals processing on the PULP platform: A case study on seizure detection