Synthesis and cholinesterase inhibitory activity of selected indole-based compounds