Direct Extraction of Excitation Energies from Ensemble Density-Functional Theory.