Factors associated with masticatory function as measured with the Mixing Ability Test in patients with head and neck cancer before and after treatment: a prospective cohort study