Ultra-low power mixed-signal frontend for wearable EEGs