The influence of diastolic and systolic function on exercise performance in heart failure due to dilated cardiomyopathy or ischemic heart disease