Investigation on some salient characteristics of electrocardiogram by using a harmonic generator model of the heart