The prognostic value of functional capacity in patients with mild to moderate heart failure