Integrated system for high-density EEG/EMG and ECG signal acquisition and processing