Noncontact ECG recording system with real time capacitance measurement for motion artifact reduction