Linear and nonlinear analysis of heart rate variability in healthy subjects and after acute myocardial infarction in patients