A 0.5 μA/Channel front-end for implantable and external ambulatory ECG recorders