Machine keeps lungs 'alive' outside the body