Spectral-kinetic characteristics of crystals and nanoceramics based on BaF2 and BaF2: Ce