Resistive or dynamic exercise stress testing of the pulmonary circulation and the right heart