Perioperative predictors of extubation failure and the effect on clinical outcome after cardiac surgery.