Survival study and treatment strategy for second primary malignancies in patients with head and neck squamous cell carcinoma and nasopharyngeal carcinoma