Defect and spectroscopy properties of Eu-doped LiMgPO4 phosphors