Synthesis, structural, TD-DFT, and optical characteristics of indole derivatives