Image-based grading system estimates nasopharyngeal carcinoma severity