Relationship between spectroscopic and crystallographic data in NaGdF4