Luminescence of lanthanide ions in strontium barium niobate