An Adaptive Threshold Detection Circuit for Action Potential