Analysis of vacuum ultraviolet electronic spectra of Ce3+ and Pr3+ ions in Ca9Lu(PO4)7: crystal-field calculations and simulation of optical spectra