is it safe to have surgery with copd