Factors associated with local and distant recurrence and survival in patients with resected nonsmall cell lung cancer