Processing of Cardiac Signals for Health Monitoring and Early Detection of Heart Diseases