Impact of sarcopenia on prognosis in patients with heart failure with reduced and preserved ejection fraction.