Impact of surgical timing on survival in patients with infective endocarditis: a time-dependent analysis