Theoretical analysis of the structure of excited electronic states, Raman, and resonance Raman spectra of indole in the isolated state and aqueous solution