A regression approach based on separability maximization for modeling a continuous-valued stress index from electrocardiogram data