Synthesis and Properties of 1,3-Indandione-Disubstituted Derivatives of Carbazole, Phenothiazine, and Phenoxazine