First-principles calculations of 4f–5d optical absorption spectra in BaMgAl10O17:Eu