Perioperative atrial fibrillation: incidence and risk factors in major thoracic surgery