Detection of the electrocardiogram fiducial points in the phase space using area calculation