Quantum Chemistry Investigation of Key Reactions Involved in the Formation of Naphthalene and Indene