Exercise testing in the prognostic evaluation of patients with lung and heart diseases.