Luminescence behavior of Er3+ in glass ceramics containing BaF2 nanocrystals