First-principles study of the optical properties of YPO 4 crystal with oxygen vacancies