Excited states of N- and O-donor ligands coordinated to YF3 compared to the resonance levels of visible and NIR-emitting lanthanide ions