First-Principles Calculations of Charge Transfer Transitions of Eu3+ in Y2O3 and Y2O2S