Low-lying electronic excitations and optical absorption spectra of the black dye sensitizer: a first-principles study