Spectra of Eu2+ in KMgF3 and NaMgF3 crystals