Right ventricular function in pulmonary hypertension