Optical absorption and luminescence spectra of Eu-impurity precipitated in the lattice of NaBr and NaI crystals