Using a pulmonary artery pressure monitor to manage heart failure