Evaluation of cardiac function using heart-lung interactions