Risk factors for urinary retention following minor thoracic surgery.